package com.jiuyin.dianjing.db.util.helper.base;

import android.content.ContentResolver;
import android.content.Context;

/**
 * <pre>
 * Description:基本的数据库操作接口
 * File: DbProviderHelper.java
 * Author: Administrator
 * Create: 2019/11/21 15:44
 * </pre>
 */
public interface DbProviderHelper<T> {
    T getDbInfo(Context context);

    void update(long id, String treated, Context context);

    boolean insertDb(ContentResolver contentResolver, final T model);

    void deleteDb(Context context);

    void deleteOneDb(Context context, long id);

}
